package com.syh.jn.scm.domain.supplier.repository.base.downstream;

import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.jn.scm.domain.supplier.entity.base.downstream.DownstreamCategory;

public interface DownstreamCategoryRepository extends DownstreamCategoryReadRepository, AggregateRepository<DownstreamCategory, Long> {
  /**
   * 根据ID查看是否有子类
   * @param id
   * @return
   */
  public boolean haveSubCates(Long id);
}
